package com.psy.counseling.service.impl;

import com.psy.counseling.entity.Result;
import com.psy.counseling.entity.TestResult;
import com.psy.counseling.mapper.ResultMapper;
import com.psy.counseling.service.ResultService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 梁学儒
 * @since 2022-05-31
 */
@Service
public class ResultServiceImpl extends ServiceImpl<ResultMapper, Result> implements ResultService {

    @Resource
    private ResultMapper resultMapper;
    @Override
    public String getResultInfoById(TestResult testResult) {
        return resultMapper.getResultInfoById(testResult);
    }
}
